package com.alisls.demo.springcloud.oauth.server.service;

import com.alisls.demo.springcloud.oauth.server.dto.OAuthClientDetailDTO;
import com.alisls.demo.springcloud.oauth.server.dto.OAuthClientDetailPwdDTO;

/**
 * OAuth客户端服务
 *
 * @author Ke Wang
 * @date 2020/10/31
 */
public interface OAuthClientDetailService {

    OAuthClientDetailDTO getByClientId(String clientId);

    OAuthClientDetailDTO save(OAuthClientDetailPwdDTO oAuthClientDetailPwdDTO);

    Integer remove(String clientId);

}
